From 3426dfdfaa3f8f3c5c5f7ec0c7b972a7d605b86b Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Sat, 12 Mar 2005 21:38:47 +0000 Subject: [PATCH] bitkeeper revision 1.1236.25.12 (42336167xwcAAiaO1PSL9AACpWN72g) Fix fallout from Update to Linux 2.6.11. Signed-off-by: Christian Limpach --- linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c index 5967f52842..c2cdbf9e72 100644 --- a/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c +++ b/linux-2.6.11-xen-sparse/drivers/xen/privcmd/privcmd.c @@ -28,6 +28,11 @@ #include #include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) +#define pud_t pgd_t +#define pud_offset(d, va) d +#endif + static struct proc_dir_entry *privcmd_intf; static int privcmd_ioctl(struct inode *inode, struct file *file, -- 2.30.2